package com.zking.ssm.service;

import com.zking.ssm.model.HotelBrandType;
import com.zking.ssm.utils.PageBean;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Transactional
public interface IHotelBrandTypeService {
    int deleteByPrimaryKey(Long id);

    int insert(HotelBrandType record);

    int insertSelective(HotelBrandType record);

    @Transactional(readOnly = true)
    HotelBrandType selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(HotelBrandType record);

    int updateByPrimaryKey(HotelBrandType record);

    @Transactional(readOnly = true)
    List<HotelBrandType> SelectAll(HotelBrandType hotelBrandType, PageBean pageBean);
}